package com.mansoor.app.islamicnames.services;

import com.mansoor.app.islamicnames.beans.Name;
import org.json.JSONException;

import java.io.IOException;
import java.util.List;

/**
 * Created by IntelliJ IDEA.
 * User: TKMAQ61
 * Date: Oct 16, 2009
 * Time: 10:52:06 AM
 */
public interface RestClient
{
    List<String> getNames(String alphabets, Integer page) throws IOException, JSONException;

    List<String> getNames(String alphabets, String gender, Integer page) throws IOException, JSONException;

    Name getName(String name) throws IOException, JSONException;

    Integer count(String alphabets) throws IOException, JSONException;

    Integer count(String alphabets, String gender) throws IOException;

    List<Name> getNamesObject(String alphabets, String gender, Integer page) throws IOException, JSONException;
}
